package 数据结构.章节09._164_两个栈实现队列;

import org.junit.Assert;
import org.junit.Test;

/**
 * @author 挚爱之夕
 * @date 2021/10/13 - 10 - 13 - 19:47
 * @Description: 数据结构.章节09._164_两个栈实现队列
 * @Version: 1.0
 */
public class SpecialQueueTest {
    SpecialQueue<Object> queue = new SpecialQueue<>();
    @Test
    public void enqueue() {
        queue.enqueue(1);
        queue.enqueue(2);
        Assert.assertEquals(1,queue.dequeue());
        queue.enqueue(3);
        Assert.assertEquals(2,queue.dequeue());
        queue.enqueue(4);
    }

    @Test
    public void dequeue() {

    }

    @Test
    public void peek() {
    }

    @Test
    public void isEmpty() {
    }

    @Test
    public void size() {
    }
}